package hoyo.zqy.user.mapper;

import hoyo.zqy.user.domain.User;
import hoyo.zqy.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zqy
 * @since 2022-11-04
 */
public interface UserMapper extends BaseMapper<User> {

    //根据手机号查询
    User loadByPhone(String phone);
    //根据邮箱查询
    User loadByEmail(String email);
    //根据登录信息查询
    User loadByLogininfoId(Long id);
}
